<ng-form name="newTemplate" >
        <div class="form-group">
            <label for="template-name" class="control-label" ng-show="!shareData.sonTemplate">模板名称</label>
            <label for="template-name" class="control-label" ng-show="shareData.sonTemplate">子模板名称</label>
                <input type="text" name="template-name" ng-model="templatename" class="form-control">
            
        </div>
        <div class="upload-hint ng-binding upload-success" ng-class="{true:'upload-success', false:'upload-fail'}[isOK]" ng-show="!isOK">
        <span class="glyphicon glyphicon-ok" ng-class="{true:'glyphicon-ok', false:'glyphicon-remove'}[isOK]"></span>
        名称不可用！
        </div>
    </ng-form>